from importlib.metadata import version, PackageNotFoundError

try:
    __version__ = version("mcpscan")
except PackageNotFoundError:  # 开发环境
    __version__ = "0.0.0.dev0"

BANNER = r"""
███╗   ███╗ ██████╗██████╗ ███████╗ ██████╗ █████╗ ███╗   ██╗
████╗ ████║██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗████╗  ██║
██╔████╔██║██║     ██████╔╝███████╗██║     ███████║██╔██╗ ██║
██║╚██╔╝██║██║     ██╔═══╝ ╚════██║██║     ██╔══██║██║╚██╗██║
██║ ╚═╝ ██║╚██████╗██║     ███████║╚██████╗██║  ██║██║ ╚████║
╚═╝     ╚═╝ ╚═════╝╚═╝     ╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝
═══════════════════════════════════════════════════════════════
"""
